<template>
    <div><span @click="getData">重新获取</span></div>
</template>

<script>

export default {
    components: {},
    props: {
        
    },
    data() {
        return {

        };
    },
    computed: {},
    methods: {
        getData(){
            this.$emit('click')
        }
    },
    created() {

    },
    mounted() {

    },
    beforeDestroy() {
    },
}
</script>

<style lang='scss' scoped>
div{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: gray;

    span:hover{
        cursor: pointer;
        text-decoration: underline;
        color: #0072FF;
    }
}
</style>